package com.ls.mybatis.bean;


public class StuInfo {
    private Integer sid;
    private String sname;
    private String tel;
    private String addr;
    private Integer cid;
    private String cname; //班级信息
    private String Cname; //班级简介

    public StuInfo() {
    }

    public StuInfo( String sname, String tel, String addr, Integer cid, String cname) {
        this.cname = cname;
        this.sname = sname;
        this.tel = tel;
        this.addr = addr;
        this.cid = cid;
    }

    public StuInfo( String sname, String tel, String addr, Integer cid, Integer sid) {
        this.sid = sid;
        this.sname = sname;
        this.tel = tel;
        this.addr = addr;
        this.cid = cid;
    }

    @Override
    public String toString() {
        return "StuInfo{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", tel='" + tel + '\'' +
                ", addr='" + addr + '\'' +
                ", cid='" + cid + '\'' +
                ", cname='" + cname + '\'' +
                '}';
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }
}
